package com.vanceinfo;

class Lamp {
	int watts = 60;
	boolean isOn = false;
	Lamp(boolean startOn){
		isOn=startOn;
	}
	public void setIsOn(boolean isOn){
		for(int dummy = 1;dummy<1000;dummy++){
			System.out.println("the count is " + dummy);
		}
		this.isOn=isOn;
		
	}
	
	

}
